#!/bin/sh
PHPRC="/opt/php5/etc/"
export PHPRC

PHP_INI_SCAN_DIR="/etc/php5/conf.d/"
export PHP_INI_SCAN_DIR

# mod_fastcgi 
PHP_FCGI_CHILDREN=0
export PHP_FCGI_CHILDREN

PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_MAX_REQUESTS
exec /opt/php5/bin/php-cgi

